package com.crh.bean;

import java.io.Serializable;

/**
 * @author Chrui
 * @date 2018/10/11__9:22
 */
public class Operatelog implements Serializable {


    private static final long serialVersionUID = 119956273753866710L;


    private Integer id;

    /**
     * 添加时间
     */
    private String createTime;

    /**
     * 操作者（主要是要到其名称和ip地址）
     */
    private Integer userId;

    /**
     * 操作的事项：1、登录,2、注册，3、上传文档，4、下载文档
     */
    private Integer optype;

    public Operatelog() {
        super();
    }

    public Operatelog(Integer id, String createTime, Integer userId, Integer optype) {
        this.id = id;
        this.createTime = createTime;
        this.userId = userId;
        this.optype = optype;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOptype() {
        return optype;
    }

    public void setOptype(Integer optype) {
        this.optype = optype;
    }
}
